﻿using Sales.Data.Access.Entities;
using Sales.Data.Access.Persistence;
using Sales.UI.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Sales.UI.Web.Controllers
{
    public class ClienteController : Controller
    {
        //
        // GET: /Cliente/

        public ActionResult Index()
        {
            ListarClientesModels _Models = new ListarClientesModels();
            _Models.Clientes = ClienteService.Instance.ListarClientes();

            return View(_Models);
        }

    }
}
